package com.wuzuqing.android.eightdiagrams.term;

import java.math.BigDecimal;

/**
 * @Description:
 * @Author: 吴祖清
 * @CreateDate: 1.2.24 10:34 AM
 */
public class console {
    public static void log(Object... args){
        StringBuilder sb = new StringBuilder();
        for (Object arg : args) {
            if (arg instanceof Double){
                sb.append(BigDecimal.valueOf((double)arg));
            }if (arg instanceof Float){
                sb.append(BigDecimal.valueOf((float)arg));
            }else{
                sb.append(arg);
            }
            sb.append(" ");
        }
        System.out.println(sb);
    }
}
